<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>開課清單</title>
</head>
<body>

<table border="1">
<c:forEach items="${CRs }" var="list">
<TR>
  <td>${list.cr_id }</td>
  <td>${list.cr_name }</td>
  <td>${list.cr_location }</td>
  <td>${list.cr_cost }</td>
  <td><a href="ClassRoomController?acttype=classRoomEdit&id=${list.id }">Edit</a></td>
  <td><a href="ClassRoomController?acttype=classRoomDelete&id=${list.id }">Delete</a></td>
</TR>
</c:forEach>
</table>

</body>
</html>